﻿@inherits BaseComponent

@if (CurrentUser == null)
{
    <CmsCard>
        <AntResult Type="error" Title="用户未登录！" />
    </CmsCard>
}
else
{
    @ChildContent
}

@code {
    [Parameter] public RenderFragment ChildContent { get; set; }
}